<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
			.img{
				border:1px solid red;
				width:300px;
				height:200px;
				float:left;
				margin-left: 500px;
				margin-top: 20px;
			}
			.fang{
				border: 1px solid red;
				width:90px;
				height: 30px;
				position: absolute;/*绝对定位*/;
				left:620px;
				top:50px;
				font-size: 20px;
				color: red;
				font-weight: bold;
			}
		</style>
	</head>
	<body>
		<div class="img">
			<img src="img/a.jpg" width="300" height="200">
		</div>
		<div class="fang">总统套房</div>
	</body>
</html>
